<?php
require_once 'PHPUnit/Framework.php';
require_once 'config/config.php';

class MySQLTest extends PHPUnit_Framework_TestCase
{
    function testConnect_By_MySQL_Function(){
		$link = mysql_connect(CONFIG_DB_HOST, CONFIG_DB_USER, CONFIG_DB_PASSWORD);
		if (!$link) {
		   die('Could not connect: ' . mysql_error());
		}
		mysql_close($link);
    }
}
?>